<?
// Free Resultset
mysql_free_result($result);


//Closing connection
mysql_close($link);

?>